package test2.spider;

import java.util.Map;

import jodd.http.HttpRequest;
import jodd.http.HttpResponse;

public class App {
	
	public static void main(String[] args) {
		HttpResponse response = HttpRequest.get("http://www.4008167878.com/wxzkd.ac?method=hotZkdList").send();
		System.out.println(response.bodyText());
		Map<String, String[]> maps = response.headers();
		for(Map.Entry<String, String[]> entry : maps.entrySet()) {
			System.out.println(entry.getKey());
			for(String s : entry.getValue()) {
				System.out.println(s);
			}
		}
	}

}
